package com.eascs.admin.o2o.compensatory.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eascs.admin.o2o.compensatory.dao.O2oDCStagesDao;
import com.eascs.admin.o2o.compensatory.entity.O2oDCLoanVo;
import com.eascs.app.dao.PageResult;

@Service
public class O2oDCStagesService {

	@Autowired
	O2oDCStagesDao o2oDCStagesDao;
	
	//查询代偿数据
	public PageResult<Object[]> getDCStagesByPage(){
		return o2oDCStagesDao.getDCStagesByPage();
	}

	/**
	 * @Description:
	 *               <p>
	 *               查询代偿数据,传参
	 *               </p>
	 * @author LMX
	 * @date 2017年8月29日 下午3:05:39
	 * @version V1.0
	 * @param vo
	 * @return
	 */
	public PageResult<Object[]> getDCStagesByPage(O2oDCLoanVo vo) {
		return o2oDCStagesDao.getDCStagesByPage(vo);
	}
	
}
